<% include ../common/header.html %>

<div class="container bread hidden-xs">
    <a class="btn btn-default" href="/blog">返回首页</a>
    <p>目前位置: <a href="/blog">EUX博客</a>\消息</p>
</div>

<div class="container blog-container">
    <div class="row">
        <article class="col-lg-9 col-sm-8">
            <ul class="message-list">
                <% for (var mes of user.commentsBy) { %>
                <li>
                    <div class="main">
                        <div class="pic"><img src="/dist/img/icon/<%= mes.usericon %>"></div>
                        <div class="msg">
                            <p class="comment"><span class="text-primary">from@<%= mes.userdep %> <%= mes.username %>: </span><%= mes.content %></p>
                            <p class="note"><span><%= formatDate(mes.date) %></span></p>
                        </div>
                    </div>
                    <div class="goto-btn"><a href="/blog/lookComment?bid=<%= mes.bid %>&t=<%= mes.date %>" style="<% if (mes.isRead) { %> color: #ddd; <% } %>">前往查看</a></div>
                </li>
                <% } %>
            </ul>
        </article>
        <% include aside.html %>
    </div>
</div>

<% include ../common/common_footer.html %>
<% include ../common/footer.html %>
